Conversation
tjruwase
reviewed
Jun 30, 2026
tjruwase
reviewed
Jun 30, 2026
tjruwase
reviewed
Jun 30, 2026
Contributor
Author
|
Hi @tjruwase I have changed according to your first and second comments. For the third comment, I left an explaination. Thanks! |
Entry point, configs, data, and tests for on-policy distillation using DeepSpeed's hybrid engine rollout and vLLM backend. Signed-off-by: Guokai Ma <guokai.ma@intel.com> Signed-off-by: Guokai Ma <guokai.ma@gmail.com>
…m_dtype to engine_dtype Signed-off-by: Guokai Ma <guokai.ma@gmail.com>
…DeepSpeed - Delete vLLM configs, scripts (opsd_vllm_disjoint.json, smoke_vllm.json, train_opsd_vllm.sh) - Add trainer.py, config.py, losses.py, utils.py (moved from DeepSpeed) - Add benchmarks/ (5 hybrid engine benchmarks moved from DeepSpeed) - Update main.py imports (trainer, config now local) - Update test imports (losses, utils now local) - Rewrite README (remove all vLLM sections) Signed-off-by: Guokai Ma <guokai.ma@gmail.com>
Signed-off-by: Guokai Ma <guokai.ma@gmail.com>
…ants from JSON - Subclass DeepSpeed's RolloutConfig to add temperature/top_p/etc - Remove weight_sync_interval from JSON configs (vLLM remnant) Signed-off-by: Guokai Ma <guokai.ma@gmail.com>
…per fix - Remove 14B/multi-GPU benchmarks (bench_14b_rollout, bench_autotp_gc, bench_hybrid_tp, bench_hybrid_tp_opt) - Fix bench_decode_1p1r: wrap model for HybridEngineRollout - Add --graph-capture CLI flag Signed-off-by: Guokai Ma <guokai.ma@gmail.com>
…nfigs temperature=0 causes logits/0 = inf → NaN loss. The correct default for knowledge distillation is temperature=1.0 (standard softmax). Signed-off-by: Guokai Ma <guokai.ma@gmail.com>
Signed-off-by: Guokai Ma <guokai.ma@gmail.com>
Signed-off-by: Guokai Ma <guokai.ma@gmail.com>
Signed-off-by: Guokai Ma <guokai.ma@gmail.com>
tjruwase
approved these changes
Jul 12, 2026
PKUWZP
requested changes
Jul 12, 2026
PKUWZP
left a comment
Contributor
There was a problem hiding this comment.
Overall this PR looks good. My only suggestion is that we remove all "Microsoft Corporation Copyright" from all files in this PR. After that we should be able to merge it.
| @@ -0,0 +1,184 @@ | |||
| # Copyright (c) Microsoft Corporation. | |||
Contributor
There was a problem hiding this comment.
@delock Can you remove the Microsoft Corporation Copyright from all files?
| @@ -0,0 +1,13 @@ | |||
| #!/usr/bin/env bash | |||
| # Copyright (c) Microsoft Corporation. | |||
Contributor
There was a problem hiding this comment.
@delock Same thing, can we remove the Microsoft Corporation copyright?
| @@ -0,0 +1,166 @@ | |||
| # Copyright (c) Microsoft Corporation. | |||
| @@ -0,0 +1,101 @@ | |||
| # Copyright (c) Microsoft Corporation. | |||
Contributor
There was a problem hiding this comment.
@delock Remove the Microsoft Corporation Copyright.
| @@ -0,0 +1,115 @@ | |||
| # Copyright (c) Microsoft Corporation. | |||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This PR moved example code from @PKUWZP 's OPSD PR in DeepSpeed (deepspeedai/DeepSpeed#8027).
Note the basic OPSD infrastructures (OPSD trainer, rollout engines) are still in the original PR and need to be merged seperately. This PR will work when the original PR merged.